//
//  MineTableViewCell.m
//  Tongcheng
//
//  Created by 邢广范 on 2017/4/4.
//  Copyright © 2017年 Tongcheng. All rights reserved.
//

#import "MineTableViewCell.h"

@interface MineTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *countLabel;

@end

@implementation MineTableViewCell

- (void)setModel:(Minemodel *)model
{
    _model = model;
    self.iconImageView.image = [UIImage imageNamed:model.icon];
    self.titleLabel.text = model.title;
    self.countLabel.text = model.count;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
